<form id="pagerForm" method="post" action="{:U('Checkpro/index')}"><!--{:U($module_name.'/'.$action_name."?model=".$model)} -->
    <input type="hidden" name="pageNum" value="{$pageNum}" />
    <input type="hidden" name="numPerPage" value="{$numPerPage}" />
    <input type="hidden" name="orderField" value="{$orderField}" />
    <input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>

<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
			<li><a class="add" href="{:U('Biz/add_tag',array('uid'=>$cid))}" target="dialog" width="580" height="350" rel="User_add"><span>添加标签</span></a></li>
            <li class="line">line</li>
			<li ><a class="delete" href="{:U('Checkpro/delall')}" rel="ids[]" target="selectedTodo" title="确实要删除这些记录吗?"><span>批量删除</span></a></li>
        </ul>
    </div>
    <div id="w_list_print">
        <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="94">
            <thead>
                <tr>
					<th width="22"><input type="checkbox" group="ids[]" class="checkboxCtrl"></th>
                    <th>名称</th>
                    <th>显示位置</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                <tr target="pid_product" rel="{$vo['id']}">
					<td><input name="ids[]" value="{$vo['id']}" type="checkbox"></td>
					<td>{$vo['name']}</td>
					<td>{$vo['layouts']}</td>
					<td><a href="{:U($module_name.'/add',array('uid'=>$cid,'tid'=>$vo['id']))}" target="dialog" width="800" height="350" rel="{$module_name}_add" class="btnAdd">添加分类</a>
						<a href="{:U($module_name.'/add_product',array('uid'=>$cid,'tid'=>$vo['id']))}" target="dialog" width="800" height="350" rel="{$module_name}_add" class="btnAdd">添加产品</a></td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div>

    <div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
				<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
				<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
				<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}" ></div>
	</div>

</div>